object TestBlock {
  def main(args: Array[String]): Unit = {
    var a, b, c = 20

    //var d=c
    var d = {
      a = 20
      b = 30
      c += a + b
      c - 10
    }
    println(s"d=${d},c=${c}")
  }
}
